package authentication.manager;

import java.util.Map;

import javax.servlet.http.HttpServletRequest;

import authentication.dao.TokenPersistent;
import authentication.entiy.Token;

public interface  TokenManager {
	/***/
	public abstract String createTokenSequence(Token token,TokenPersistent tokenDao);
	/***/
	public Map<String, Object> checkToken(String tokenSequence);
		
	/***/
	public abstract Map<String, Object> getTokenInfo(String tokenSequence);
	
	/***/
	public boolean updateToken(Token token);
	 public void setTokenPersistent(TokenPersistent tokenDao);
	    public void setTokenHttpResquest(HttpServletRequest request);
}
